-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feat(server): Add server config for headers and keep alive timeouts #9309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(server): Add server config for headers and keep alive timeouts #9309
Conversation
2c3f332
to
51681fd
Compare
Hi @KSDaemon! Do you think this feature could be added anytime soon? Do you see any utility? |
Hey @marianore-muttdata looks good. Could you please rebase it on top of the latest master branch? GitHub shows that there are some conflicts. Thnx! |
f884557
to
267ce43
Compare
Hey @marianore-muttdata! Actually... The tests are failing because of:
We forgot to update the options scheme here |
Got it! Let me know if there's anything else that you'd write differently. |
I think now everything is fine! :) Let's merge! |
Check List
Description of Changes Made
This is a change that we've been using in our application to sync the timeouts with the LoadBalancer correctly.
Added two new environment variables to configure HTTP server options:
CUBEJS_SERVER_HEADERS_TIMEOUT
CUBEJS_SERVER_KEEP_ALIVE_TIMEOUT
Each default to the default values in the
Server
class found in theHTTP
Node module.